Foxit PDF SDK
FoxitPDFSDKPython2.WidgetChoiceOption类 参考

继承自 FoxitPDFSDKPython2._object .

Public 成员函数

def WidgetChoiceOption ()
 构造函数。

 
def WidgetChoiceOption (option)
 构造函数,使用另一个选择选项对象。
更多...
 
def WidgetChoiceOption (option_label, selected)
 构造函数,带参数。
更多...
 
def Set (option_label, selected)
 设置值。
更多...
 

静态 Public 属性

 option_label = _fsdk.WidgetChoiceOption_option_label
 选项的显示字符串值。

 
 selected = _fsdk.WidgetChoiceOption_selected
 用于指示选项是否被选中。

 

详细描述

此类表示列表框或组合框中选项的数据。

构造及析构函数说明

◆ WidgetChoiceOption() [1/2]

def FoxitPDFSDKPython2.WidgetChoiceOption.WidgetChoiceOption (   option_label,
  selected 
)

构造函数,带参数。

参数
[in]option_label选项的显示字符串值。
[in]selectedtrue 表示选项被选中,false 表示 选项未被选中。

◆ WidgetChoiceOption() [2/2]

def FoxitPDFSDKPython2.WidgetChoiceOption.WidgetChoiceOption (   option)

构造函数,使用另一个选择选项对象。

参数
[in]option另一个选择选项对象。

成员函数说明

◆ Set()

def FoxitPDFSDKPython2.WidgetChoiceOption.Set (   option_label,
  selected 
)

设置值。

参数
[in]option_label选项的显示字符串值。
[in]selectedtrue 表示选项被选中,false 表示 选项未被选中。
返回
无。